﻿<UserControl x:Class="tomenglertde.ResXManager.OutputView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300"
             xmlns:resXManager="clr-namespace:tomenglertde.ResXManager"
             xmlns:view="urn:ResXManager.View"
             d:DataContext="{d:DesignInstance resXManager:OutputViewModel}">
  <UserControl.InputBindings>
    <KeyBinding Key="C" Modifiers="Ctrl" Command="{Binding CopyCommand}"/>
  </UserControl.InputBindings>
  <Grid Margin="10">
    <Grid.ContextMenu>
      <ContextMenu>
        <MenuItem Header="{x:Static view:Resources.Copy}" Command="{Binding CopyCommand}"/>
      </ContextMenu>
    </Grid.ContextMenu>
    <ScrollViewer>
      <ItemsControl ItemsSource="{Binding Lines}"/>
    </ScrollViewer>
  </Grid>
</UserControl>
